package com.xuecheng.framework.domain.learning.response;

import com.xuecheng.framework.model.response.ResponseResult;
import com.xuecheng.framework.model.response.ResultCode;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author ShengJinFeng
 * @version V1.0
 * @ClassName GetMediaResult
 * @Description (这里用一句话描述这个类的作用)
 * @date 2020/3/7 11:19
 * @since V1.0
 */
@Data
@ToString
@NoArgsConstructor
public class GetMediaResult extends ResponseResult {

    //媒资文件播放地址
    private String fileUrl;

    public GetMediaResult(ResultCode resultCode,String fileUrl) {
        super(resultCode);
        this.fileUrl = fileUrl;
    }
}
